import request from '@/utils/request'

function getCountry(data) {
  return request({
    url:'/videos/country/list',
    method:'get',
    params:data
  })
}
function getTypes(data) {
  return request({
    url:'/videos/types/list',
    method:'get',
    params:data
  })
}
function getYears(data) {
  return request({
    url:'/videos/years/list',
    method:'get',
    params:data
  })
}

function queryVideo(data) {
  return request({
    url:'/videos/show/queryList',
    method:'get',
    params:data
  })
}
export default { getCountry, getTypes, getYears, queryVideo }